from sqlalchemy import Column, String, Text, DateTime
from app.models.base import BaseModel

class TechnologyTag(BaseModel):
    __tablename__ = "technology_tag"

    name = Column(String(100), nullable=False, unique=True, index=True, comment="标签名称")
    description = Column(Text, nullable=True, comment="标签描述")
    style = Column(String(255), nullable=True, comment="前端样式（如颜色、类名等）")
    remark = Column(String(255), nullable=True, comment="备注信息")
    created_by = Column(String(50), nullable=True, comment="创建人")
    updated_by = Column(String(50), nullable=True, comment="更新人") 